package community.hospital.convert;

import community.hospital.entity.Menu;
import community.hospital.entity.request.MenuRequest;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @Author：ydj
 * @Date：2023/1/26 21:22
 */
@Mapper
public interface MenuConvert {
    MenuConvert INSTANCE = Mappers.getMapper(MenuConvert.class);

    Menu convertToMenu(MenuRequest request);
}
